import pytest

from common.NeqReq import NeqReq

from data.generate_data import generate_place_data
from utils.url_utils import full_url


url = "/order/place"

data_path = "./data/place.yaml"

class Test_place:
    
	@pytest.mark.parametrize("args", generate_place_data(100))
	def test_1(self,args):
        
		nr = NeqReq()

		result = nr.send_request('POST', full_url(url), args)

		assert result['code'] == 200

